﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json.Serialization;

namespace Process.Model
{
    /// <summary>
    /// 工艺流程实例
    /// </summary>
    public class ProcessFlow : Entity
    {
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        public string FlowCode { get; set; }

        /// <summary>
        /// 工艺流程名称
        /// </summary>
        public string FlowName { get; set; }

        /// <summary>
        /// 工艺流程数量
        /// </summary>
        public string FlowNumber { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Responsible { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 状态（0：禁用；1：启用）

        /// </summary>
        public int Status { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 关联的工序集合
        /// </summary>
        public virtual ICollection<FlowProcessRelation> FlowProcessRelations { get; set; }

    }
}
